#include<iostream>

using namespace std;

int main(void){
    int A,B;
    while(cin>>A){
        cin>>B;
        cout<<A+B<<endl;
    }
    return 0;
}